//
//  AirWarAppDelegate.m
//  AirWar
//
//  Created by ris on 10-5-22.
//  Copyright __MyCompanyName__ 2010. All rights reserved.
//

#import "ProjectMAppDelegate.h"
#import "EAGLView.h"
#import "ECCommon.h"

@implementation ProjectMAppDelegate

@synthesize window;
@synthesize viewController;


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
	[application setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO];
	[window addSubview:[viewController view]];
	[window makeKeyAndVisible];
    return YES;
}

- (void)applicationWillResignActive:(UIApplication *)application
{
    
}

- (void)applicationDidBecomeActive:(UIApplication *)application
{
    
}

- (void)applicationWillTerminate:(UIApplication *)application
{

}


 

- (void)dealloc
{
    [window release];
	[viewController release];

    [super dealloc];
}

@end
